﻿using PLCS.SocialHttpApi.WebServiceModels;

using System.ServiceModel;

using Volo.Abp.DependencyInjection;

namespace PLCS.SocialHttpApi.WebServiceControllers
{
    // 接口的特性一定要加上[ServiceContract]，然后要继承ISingletonDependency
    [ServiceContract]
    public interface IWebServiceExample : ISingletonDependency
    {
        // 接口的方法特性一定要加上[OperationContract]
        [OperationContract]

        public Task<WebServiceExampleModel> WebServiceExampleService(string data);

        [OperationContract]
        public string WebServiceExampleServicewww(string data);

        public Task<WebServiceExampleModel> WebServiceExampleService(TestBody data);

    }
}